<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<AmazonCommon.Amazon.ECS.Items>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <div class="list">
        <ol id="results">
            <%if (Model.Item != null)
              {
                  foreach (var item in Model.Item)
                  {
                      Html.RenderPartial("ProductDetailsInList", item);
                  }
              } %>
        </ol>
    </div>
    <br />
    <%  if (ViewData[AmazonVer3.Controllers.VDConstants.SortValues] != null)
        {
            Html.RenderPartial("SortValueLinks", ViewData[AmazonVer3.Controllers.VDConstants.SortValues]);
        } 
    %>
    <%  
        Html.RenderPartial("Paging", Model);
    %>
    <p>
        TotalResults:
        <%= Html.Encode(Model.TotalResults) %>
    </p>
    <p>
        TotalPages:
        <%= Html.Encode(Model.TotalPages) %>
    </p>
</asp:Content>
<asp:Content ContentPlaceHolderID="LeftContent" ID="LeftContentID" runat="server">
    <% if (ViewData[AmazonVer3.Controllers.VDConstants.ChildBrowseNodes] != null)
       {
           Html.RenderPartial("ChildBrowseNodes", ViewData[AmazonVer3.Controllers.VDConstants.ChildBrowseNodes]);
       } 
    %>
</asp:Content>
